<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    <h1>helloThymeleaf</h1>
<!--    测试获取基本数据 还有是否转义-->
    <div th:text="${mesg}"></div>
    <div th:utext="${mesg}"></div>
<!--    测试遍历数据-->
    <div th:each="str:${list}" th:text="${str}"></div>
</body>
</html>